﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="SendedQuarterPlan.aspx.cs"
    Inherits="QuarterPlan_VerifyQuarterPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>已发待评估年计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td class="firstbjcolor" colspan="4" style="height: 14px;">
                        <span class="currentHere">当前位置:年计划管理-&gt;查看已发部门年计划</span></td>
                </tr>
                <tr>
                    <td style="height: 1; width: 100%;">
                    </td>
                </tr>
                <tr>
                    <td colspan="8" style="height: 30px; background-image: url(../images/secondRow.gif);
                        background-repeat: repeat-x;">
                        部门:<asp:DropDownList ID="drpDepartment" runat="server" SkinID="dropdownlistSkin"
                            AutoPostBack="True" OnSelectedIndexChanged="drpDepartment_SelectedIndexChanged">
                        </asp:DropDownList>年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True"
                            OnSelectedIndexChanged="drpYear_SelectedIndexChanged" SkinID="dropdownlistSkin">
                        </asp:DropDownList>年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" AutoPostBack="True"
                            OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged" SkinID="dropdownlistSkin">
                        </asp:DropDownList>
                        &nbsp;<asp:Button ID="btnVerifyCircuit" runat="server" OnClick="btnVerifyCircuit_Click"
                            Text="流程" SkinID="buttonSkin" />
                        <asp:Button ID="btnReturn" runat="server" OnClick="btnReturn_Click" Text="撤回" SkinID="buttonSkin"
                            OnClientClick="return confirm('确认要撤回吗？');" />
                        <asp:Button ID="btnAttachmentPath" runat="server" OnClick="btnAttachmentPath_Click"
                            Text="上传文件" Width="60px" SkinID="buttonSkin" /></td>
                </tr>
                <tr>
                    <td colspan="8">
                        <div style=" height: 18px; width: 98.7%" id="Div1">
                            <table cellpadding="0" cellspacing="1" style="background-color: #d0d0ce;" border="0"
                                width="100%">
                                <tr style="background-color: #ffffff;">
                                    <td class="PlanModifyTableHeader" style="width: 3%" align="center">
                                        选择</td>
                                    <td class="PlanModifyTableHeader" style="width: 4%" valign="middle" align="center">
                                        计划编号</td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 7%">
                                        开始时间</td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 7%">
                                        完成时间</td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 8%">
                                        计划来源</td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 13%">
                                        计划名称</td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 7%">
                                        责任部门</td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 5%">
                                        责任人<a href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"></a></td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 7%">
                                        配合部门<a href="#" onclick="javascript:slavedepartment(parentNode.firstChild.id );"></a></td>
                                    <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 8%">
                                        配合部门责任</td>
                                    <td class="PlanModifyTableHeader" valign="middle" style="width: 5%" align="center">
                                        评估人<a href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"></a></td>
                                    <td class="PlanModifyTableHeader" valign="middle" style="width: 7%" align="center">
                                        评估意见</td>
                                    <td class="PlanModifyTableHeader" style="width: 6%" valign="middle" align="center">
                                        备注</td>
                                    <td align="center" class="PlanModifyTableHeader" style="width: 6%" valign="middle">
                                        附件</td>
                                    <td align="center" class="PlanModifyTableHeader" style="width: 7%" valign="middle">
                                        查看分解</td>
                                </tr>
                            </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="8">
                        <div style="overflow-y: scroll; height: 500px; width: 100%" id="dvBody">
                            <asp:GridView ID="gdvQuarterPlan" runat="server" AutoGenerateColumns="False" DataKeyNames="AttachmentPath,QuarterPlanId,PlanSendState,QuarterPlanSortId,Source,TotalPlanId"
                                SkinID="gridviewSkin" Width="100%" ShowHeader="False">
                                <Columns>
                                    <asp:TemplateField HeaderText="选择">
                                        <ItemTemplate>
                                            <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" Width="90%" />
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="3%" Wrap="False" />
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="3%" Wrap="False" />
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="QuarterPlanSortId" HeaderText="计划编号">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd}"
                                        HtmlEncode="False">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                        HtmlEncode="False">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="计划来源">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" Wrap="True" />
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lbtnSource" runat="server" OnClick="lbtnSource_Click"></asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="13%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="13%" Wrap="True" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="CheckNote" HeaderText="评估意见">
                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="7%" Wrap="True" />
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Remart" HeaderText="备注">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="6%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="AttachmentPath" HeaderText="文件保存路径" Visible="False">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="附件">
                                        <ItemTemplate>
                                            <asp:Button ID="btnDownLoad" runat="server" Width="80%" OnClick="btnDownLoad_Click"
                                                SkinID="buttonSkin" Text="下载" />
                                            <asp:Label ID="lblAlert" runat="server" SkinID="labelSkin" Visible="False"></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="查看">
                                        <ItemTemplate>
                                            <asp:Button ID="btnQuarterPlanResolve" runat="server" OnClick="btnQuarterPlanResolve_Click"
                                                SkinID="buttonSkin" Text="查看" Width="80%" /><asp:Label ID="lblTopic" runat="server"
                                                    SkinID="labelSkin" Text="无年分解" Visible="False"></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="7%" />
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="7%" />
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="QuarterPlanId" HeaderText="ID" Visible="False">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="0px" />
                                        <ItemStyle Width="0px" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="PlanSendState" HeaderText="State" Visible="False" />
                                    <asp:BoundField DataField="Source" HeaderText="Source" Visible="False" />
                                    <asp:BoundField DataField="TotalPlanId" HeaderText="TotalPlanId" Visible="False" />
                                </Columns>
                            </asp:GridView>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
